Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OIDC: fallback to "email" if IDP doesn't provide "preferred_username" claim #2314

Merged
merged 1 commit into from
Dec 2, 2021

Conversation

rhafer
Copy link
Contributor

@rhafer rhafer commented Nov 30, 2021

Some IDPs (e.g. Authelia) don't add the "preferred_username" claim. Fallback to the "email" claim in that case.

See also: owncloud/ocis#2644

… claim

Some IDPs (e.g. Authelia) don't support the "preferred_username"
claim. Fallback to the "email" claim in that case.
@rhafer rhafer force-pushed the user-claim-fallback branch from 3894cd6 to c1b904a Compare November 30, 2021 16:49
Copy link
Contributor

@wkloucek wkloucek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@labkode labkode merged commit 7f15205 into cs3org:master Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants